home *** CD-ROM | disk | FTP | other *** search
/ Future Workshop / Future Workshop.iso / multimed / qtw111 / pviewer / viewenu.rc < prev    next >
Text File  |  1993-11-01  |  11KB  |  225 lines

  1.  
  2. // ---------------------------------------------------------------------
  3. //
  4. // Viewenu.rc - Picture Viewer - QuickTime for Windows
  5. //
  6. //              Version 1.0
  7. //
  8. //              (c) 1988-1992 Apple Computer, Inc. All Rights Reserved.
  9. //
  10. // ---------------------------------------------------------------------
  11.  
  12.  
  13.  
  14. // Includes
  15. // --------
  16.    #include <Windows.H>            // Required by Windows
  17.    #include <qtole.h>              // Required for defines in viewer.hr
  18.    #include "dlgs.h"               // Required for defines in comndlg template
  19.  
  20.    #include "viewer.hr"            // Defines used in this file
  21.  
  22.    rcinclude version.rc
  23.  
  24. // Dialogs
  25. // -------
  26.    rcinclude viewenu.dlg
  27.  
  28. // Bitmaps and Icons
  29. // -----------------
  30.    VIEWER_VIEWER_ICON      ICON    viewenu.ico
  31.    VIEWER_PICT_ICON        ICON    pictenu.ico
  32.    VIEWER_VIEWER_BITMAP    BITMAP  viewenu.bmp
  33.    VIEWER_GROWBOX_BITMAP   BITMAP  growbox.bmp
  34.  
  35. // Frame window menus
  36.    VIEWER_FRAME_MENU MENU
  37.      BEGIN
  38.        POPUP "&File"
  39.          BEGIN
  40.            MENUITEM "&Open...",                 VIEWER_FILE_OPEN
  41.            MENUITEM "&Close",                   VIEWER_FILE_CLOSE
  42.            MENUITEM SEPARATOR
  43.            MENUITEM "&Print...",                VIEWER_FILE_PRINT
  44.            MENUITEM "P&rint Setup...",          VIEWER_FILE_PRTSETUP
  45.            MENUITEM SEPARATOR
  46.            MENUITEM "E&xit",                    VIEWER_FILE_EXIT
  47.          END
  48.  
  49.        POPUP "&Edit"
  50.          BEGIN
  51.            MENUITEM "&Copy\tCtrl+C",            VIEWER_EDIT_COPYPICTURE
  52.            MENUITEM SEPARATOR
  53.            MENUITEM "&Options...",              VIEWER_EDIT_OPTIONS
  54.            MENUITEM SEPARATOR
  55.            MENUITEM "Cancel &Selection",        VIEWER_EDIT_CANCELSEL
  56.          END
  57.  
  58.        POPUP "&Image"
  59.          BEGIN
  60.            MENUITEM "Get Image &Info...",       VIEWER_IMAGE_GETINFO
  61.            MENUITEM SEPARATOR
  62.            MENUITEM "&Half Size",               VIEWER_IMAGE_HALFSIZE
  63.            MENUITEM "&Normal Size",             VIEWER_IMAGE_NORMALSIZE
  64.            MENUITEM "&Double Size",             VIEWER_IMAGE_DOUBLESIZE
  65.          END
  66.  
  67.        POPUP "&Window"
  68.          BEGIN
  69.            MENUITEM "&Tile",                    VIEWER_WINDOW_TILE
  70.            MENUITEM "&Cascade",                 VIEWER_WINDOW_CASCADE
  71.            MENUITEM "&Arrange Icons",           VIEWER_WINDOW_ARRANGE
  72.          END
  73.  
  74.        POPUP "&Help"
  75.          BEGIN
  76.            MENUITEM "&Picture Viewer Help",     VIEWER_HELP_VIEWERHELP
  77.            MENUITEM "&Using Help",              VIEWER_HELP_USINGHELP
  78.            MENUITEM SEPARATOR
  79.            MENUITEM "&About Picture Viewer...", VIEWER_HELP_ABOUTVIEWER
  80.          END
  81.      END
  82.  
  83. // Accelerators
  84. // -------
  85.    VIEWER_ACCELERATORS ACCELERATORS
  86.      BEGIN
  87.        "^C",      VIEWER_EDIT_COPYPICTURE
  88.        VK_INSERT, VIEWER_EDIT_COPYPICTURE,  VIRTKEY, CONTROL
  89.        VK_F1,     VIEWER_HELP_VIEWERHELP,   VIRTKEY
  90.      END
  91.  
  92. // Strings
  93. // -------
  94.    STRINGTABLE
  95.       BEGIN
  96.          VIEWER_STRING_NOMEMORY,         "Out of Memory"
  97.          VIEWER_STRING_CAPTION,          "Picture Viewer"
  98.          VIEWER_STRING_NOACCELORMENU,    "Unable to load menu and accelerator resources"
  99.          VIEWER_STRING_NOWINDOW,         "Unable to create main window"
  100.          VIEWER_STRING_NODC,             "Unable to get a device context"
  101.  
  102.          VIEWER_STRING_FILEEXT,            ".pic"
  103.          VIEWER_STRING_OPENPICTFILTER,     "Pictures and JPEG|*.pic;*.jpg|Pictures|*.pic|JPEG|*.jpg|"
  104.          VIEWER_STRING_CDLG_FINDRESFAIL,   "CDERR_FINDRESFAILURE"
  105.          VIEWER_STRING_CDLG_INITFAIL,      "CDERR_INITIALIZATION"
  106.          VIEWER_STRING_CDLG_LOADRESFAIL,   "CDERR_LOADRESFAILURE"
  107.          VIEWER_STRING_CDLG_LOCKRESFAIL,   "CDERR_LOCKRESFAILURE"
  108.          VIEWER_STRING_CDLG_MEMALLOCFAIL,  "CDERR_MEMALLOCFAILURE"
  109.          VIEWER_STRING_CDLG_MEMLOCKFAIL,   "CDERR_MEMLOCKFAILURE"
  110.          VIEWER_STRING_CDLG_STRUCTSIZE,    "CDERR_STRUCTSIZE"
  111.          VIEWER_STRING_CDLG_BADFILENAME,   "FNERR_INVALIDFILENAME"
  112.          VIEWER_STRING_CDLG_PRTINITFAIL,   "PDERR_INITFAILURE"
  113.          VIEWER_STRING_CDLG_LOADDRVFAIL,   "PDERR_LOADDRVFAILURE"
  114.          VIEWER_STRING_CDLG_NODEFPRINTER,  "PDERR_NODEFAULTPRN"
  115.          VIEWER_STRING_CDLG_NODEVICES,     "PDERR_NODEVICES"
  116.          VIEWER_STRING_CDLG_NOFINDPNTR,    "PDERR_PRINTERNOTFOUND"
  117.          VIEWER_STRING_CDLG_SETUPFAIL,     "PDERR_SETUPFAILURE"
  118.          VIEWER_STRING_CDLG_GENFAILURE,    "Error %lu occurred in common dialog processing"
  119.          VIEWER_STRING_CDLG_FORMAT,        "Error %s occured during common dialg processing. Refer to 3.1 SDK manual, vol 2 for description of error"
  120.          VIEWER_STRING_CDLG_CAP,           "Common Dialog Error"
  121.  
  122.          VIEWER_STRING_CANCELDLG,        "Unable to create print cancel dialog box. Possibly low on memory"
  123.          VIEWER_STRING_ABORTPROC,        "Unable to set print abort procedure"
  124.          VIEWER_STRING_PRT_OUTOFDISK,    "SP_OUTOFDISK"
  125.          VIEWER_STRING_PRT_NOMEMORY,     "SP_OUTOFMEMORY"
  126.          VIEWER_STRING_PRT_GENERROR,     "General printing error. Possibly low on memory or disk space."
  127.          VIEWER_STRING_PRT_CAPTION,      "Printing Error"
  128.  
  129.          VIEWER_STRING_NOHELPFILE,       "Cannot find the help file. Be sure that the file Viewenu.hlp is in either the same directory as Viewer.exe or in the help subdirectory"
  130.  
  131.          VIEWER_STRING_SIZEBYTES,        "%lu bytes"
  132.          VIEWER_STRING_SIZEKBYTES,       "%luK"
  133.          VIEWER_STRING_SIZEBYTESONDISK,  "%lu on disk"
  134.          VIEWER_STRING_SIZEKBYTESONDISK, "%luK on disk"
  135.          VIEWER_STRING_WANDH,            "%uW x %uH pixels"
  136.          VIEWER_STRING_NORESOLUTION,     "n/a"
  137.          VIEWER_STRING_RESOLUTION,       "%u dpi"
  138.          VIEWER_STRING_QUALITY,          "Normal"
  139.  
  140.          VIEWER_STRING_CODEC_NONE,       "(none)"
  141.          VIEWER_STRING_CODEC_PHOTO,      "Photo-JPEG"
  142.          VIEWER_STRING_CODEC_ANIMATION,  "Animation"
  143.          VIEWER_STRING_CODEC_GRAPHICS,   "Graphics"
  144.          VIEWER_STRING_CODEC_VIDEO,      "Video"
  145.          VIEWER_STRING_CODEC_CVID,       "Compact Video"
  146.  
  147.          VIEWER_STRING_COLORS,           "%lu"
  148.          VIEWER_STRING_CLRS_BANDW,       "Black & White"
  149.          VIEWER_STRING_CLRS_2GRAYS,      "2 Grays"
  150.          VIEWER_STRING_CLRS_4COLORS,     "4"
  151.          VIEWER_STRING_CLRS_4GRAYS,      "4 Grays"
  152.          VIEWER_STRING_CLRS_16COLORS,    "16"
  153.          VIEWER_STRING_CLRS_16GRAYS,     "16 Grays"
  154.          VIEWER_STRING_CLRS_256COLORS,   "256"
  155.          VIEWER_STRING_CLRS_256GRAYS,    "256 Grays"
  156.          VIEWER_STRING_CLRS_THOUSANDS,   "Thousands"
  157.          VIEWER_STRING_CLRS_MILLIONS,    "Millions"
  158.          VIEWER_STRING_CLRS_MILLNSPLUS,  "Millions +"
  159.  
  160.          VIEWER_STRING_QTWNOEXIST,       "The QuickTime library needed to display QuickTime pictures cannot be found."
  161.          VIEWER_STRING_QTWBADDLL,        "Required QuickTime libraries cannot be found. You may have deleted them or you may be attempting to load too many QuickTime applications."
  162.          VIEWER_STRING_QTW286,           "QuickTime requires at least a 386 computer"
  163.          VIEWER_STRING_QTWWIN30,         "QuickTime detects Windows version lower than version 3.1. Windows 3.1 or higher is required."
  164.          VIEWER_STRING_QTWFAILED,        "A general QuickTime Initialization failure has occured"
  165.          VIEWER_STRING_ENTMOVFAILED,     "QuickTime Enter Movies has failed"
  166.          VIEWER_STRING_OLEINITFAILED,    "QuickTime OLE initialization failed"
  167.  
  168.          VIEWER_STRING_NOMAKEPICTWND,    "Not able to create picture window. Possibly low on memory"
  169.          VIEWER_STRING_NOOPENFILE,       "Could not open file %s"
  170.          VIEWER_STRING_NOINFO,           "Failure reading picture file info"
  171.          VIEWER_STRING_NOPICDATA,        "Cannot find picture data struct"
  172.          VIEWER_STRING_DRAWPICFAIL,      "Could not draw this picture. It may not be recognized by QuickTime for Windows or you could be low on memory."
  173.          VIEWER_STRING_NOPICINFILE,      "Selected file is a valid .pic file but does not contain a picture"
  174.          VIEWER_STRING_NOGETPIC,         "Could not get picture from file. Possibly not a picture file."
  175.          VIEWER_STRING_SELPALFAILED,     "Palette selection error"
  176.          VIEWER_STRING_NOMAKEDIB,        "Failure getting icon DIB bitmap bits"
  177.  
  178.          VIEWER_STRING_COPYFAILED,       "Copy failed. Possibly low on memory"
  179.  
  180.          VIEWER_STRING_PERCENT,          "%u%%"
  181.          VIEWER_STRING_FACENAME,         "Arial"
  182.  
  183.  
  184. // The following are the standard and ole replacement strings for the file menu close
  185. // and exit menu items.  The longer strings are used when the wnd is an activated
  186. // ole object.
  187. // ----------------------------------------------------
  188.          VIEWER_STRING_CLOSE,            "&Close"
  189.          VIEWER_STRING_EXIT,             "E&xit"
  190.          VIEWER_STRING_OLECLOSE,         "&Close && return to %s"
  191.          VIEWER_STRING_OLEEXIT,          "E&xit && return to %s"
  192.  
  193. // The following are strings used to access the default options in qtw.ini
  194.          VIEWER_STRING_OPTIONS_NAME,          "Picture Viewer Edit Options"
  195.          VIEWER_STRING_OPTIONS_SHOWPC,        "Show Picture Controls"
  196.          VIEWER_STRING_OPTIONS_DRAWFRAME,     "Frame Around Window"
  197.          VIEWER_STRING_OPTIONS_USEPALETTE,    "Use Picture Palette"
  198.          VIEWER_STRING_OPTIONS_COPYICON,      "Paste Icon"
  199.          VIEWER_STRING_OPTIONS_SHOWTITLE,     "Show Title Bar"
  200.          VIEWER_STRING_OPTIONS_ZOOMHALF,      "Half Size"
  201.          VIEWER_STRING_OPTIONS_ZOOMNORMAL,    "Normal Size"
  202.          VIEWER_STRING_OPTIONS_ZOOMDOUBLE,    "Double Size"
  203.  
  204. // The following are strings that are used by QTOLE.DLL.
  205. // ----------------------------------------------------
  206.          OLE_STRING_READABLENAME,        "QuickTime Picture"
  207.          OLE_STRING_PLAY,                "&Display"
  208.          OLE_STRING_EDIT,                "&Activate Picture Viewer"
  209.          OLE_STRING_OPTIONS,             "Display &Options..."
  210.          OLE_STRING_UPDATE,              "This object has been changed.\nUpdate %s before proceeding?"
  211.          OLE_STRING_ALREADYINSERTING,    "The Insert Object in progress must be completed before another can be initiated"
  212.  
  213.             // The following are used in the file search message boxes and
  214.             // in the search dialog
  215.          OLE_STRING_WHEREFILE,           "Cannot locate picture file %s. Update path?"
  216.          OLE_STRING_UPDATEPATH,          "Path of picture file has changed. Update %s before proceeding?"
  217.          OLE_STRING_NOTFILESIZE,         "Selected file has the correct name, but not the correct size. Use this file ?"
  218.          OLE_STRING_NOTFILENAME,         "Selected file does not have the correct name."
  219.  
  220.          OLE_STRING_SEARCHDIRS,          "Search..."
  221.          OLE_STRING_FILENOTFOUND,        "File not found."
  222.  
  223.       END
  224.  
  225.